.class Lcom/xingbook/park/ui/as;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method public constructor <init>(Lcom/xingbook/park/ui/am;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/xingbook/park/ui/as;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/park/ui/as;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/park/ui/am;

    if-nez v0, :cond_0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    :goto_0
    return-void

    :cond_0
    iget v1, p1, Landroid/os/Message;->what:I

    packed-switch v1, :pswitch_data_0

    :goto_1
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    goto :goto_0

    :pswitch_0
    invoke-static {v0}, Lcom/xingbook/park/ui/am;->d(Lcom/xingbook/park/ui/am;)Lcom/xingbook/park/ui/p;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/p;->a(Ljava/lang/String;)V

    goto :goto_1

    :pswitch_1
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/xingbook/park/e/c;

    if-eqz v1, :cond_1

    invoke-virtual {v1}, Lcom/xingbook/park/e/c;->f()Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_1

    invoke-virtual {v1}, Lcom/xingbook/park/e/c;->f()Ljava/lang/Object;

    move-result-object v2

    instance-of v2, v2, Ljava/lang/String;

    if-eqz v2, :cond_1

    invoke-static {v0}, Lcom/xingbook/park/ui/am;->d(Lcom/xingbook/park/ui/am;)Lcom/xingbook/park/ui/p;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/park/ui/p;->b()V

    invoke-virtual {v1}, Lcom/xingbook/park/e/c;->f()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string v2, ","

    invoke-virtual {v1, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/park/ui/am;->e(Lcom/xingbook/park/ui/am;)Lcom/xingbook/park/ui/aq;

    move-result-object v0

    invoke-static {v1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/aq;->a(Ljava/util/List;)V

    goto :goto_1

    :cond_1
    invoke-static {v0}, Lcom/xingbook/park/ui/am;->d(Lcom/xingbook/park/ui/am;)Lcom/xingbook/park/ui/p;

    move-result-object v0

    const-string v1, "\u52a0\u8f7d\u5931\u8d25\uff0c\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5\uff01"

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/p;->b(Ljava/lang/String;)V

    goto :goto_1

    :pswitch_2
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/xingbook/park/e/c;

    if-eqz v1, :cond_2

    invoke-virtual {v1}, Lcom/xingbook/park/e/c;->d()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_2

    invoke-static {v0}, Lcom/xingbook/park/ui/am;->d(Lcom/xingbook/park/ui/am;)Lcom/xingbook/park/ui/p;

    move-result-object v0

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "\u52a0\u8f7d\u9519\u8bef:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Lcom/xingbook/park/e/c;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\uff0c\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5\uff01"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/p;->b(Ljava/lang/String;)V

    goto :goto_1

    :cond_2
    invoke-static {v0}, Lcom/xingbook/park/ui/am;->d(Lcom/xingbook/park/ui/am;)Lcom/xingbook/park/ui/p;

    move-result-object v0

    const-string v1, "\u52a0\u8f7d\u9519\u8bef\uff0c\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5\uff01"

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/p;->b(Ljava/lang/String;)V

    goto :goto_1

    :pswitch_3
    invoke-static {v0}, Lcom/xingbook/park/ui/am;->d(Lcom/xingbook/park/ui/am;)Lcom/xingbook/park/ui/p;

    move-result-object v0

    const-string v1, "\u7f51\u7edc\u8fde\u63a5\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5\u7f51\u7edc\u540e\u91cd\u8bd5\uff01"

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/p;->b(Ljava/lang/String;)V

    goto/16 :goto_1

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method
